package com.txw.javaCore.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @PROJECT_NAME: JavaCoreB2
 * @DESCRIPTION: 首页统计数据对象实体
 * @Author: 涂玄武
 * @DATE: 2021/3/3 13:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedisBlogData implements Serializable {

    private Integer blogId;

    private Integer userId;

    //类型：点赞/收藏/转发
    private String cacheTypeKey;

    //true：代表 点赞/收藏/转发  false：代表 取消点赞/取消收藏/取消转发
    private Boolean needCache;

}
